﻿using MediatR;

namespace W.Warehouse.Api.Application.Command.WarehouseCommand
{
    public class WarehouseUpdateCommand : IRequest<ApiResult<int>>
    {
        public int WarehouseId { get; set; }
        /// <summary>
        /// 仓库编码
        /// </summary>
        public string? WarehouseNo { get; set; }
        /// <summary>
        /// 部门id
        /// </summary>
        public int? DepartmentId { get; set; }
        /// <summary>
        /// 仓库名称
        /// </summary>
        public string? WarehouseName { get; set; }
        /// <summary>
        /// 仓库类型Id
        /// </summary>
        public int? WarehouseTypeId { get; set; }
        /// <summary>
        /// 作用
        /// </summary>
        public string? Function { get; set; }
        /// <summary>
        /// 租赁时间
        /// </summary>
        public DateTime? LeaseDate { get; set; }
        /// <summary>
        /// 面积
        /// </summary>
        public decimal? WarehouseArea { get; set; }
        /// <summary>
        /// 地址
        /// </summary>
        public string? WarehouseAddress { get; set; }
        /// <summary>
        /// 联系人
        /// </summary>
        public string? WarehouseContact { get; set; }
        /// <summary>
        /// 电话
        /// </summary>
        public string? WarehousePhone { get; set; }
        /// <summary>
        /// 是否禁用
        /// </summary>
        public bool? WhetherDisable { get; set; }
        /// <summary>
        /// 是否默认
        /// </summary>
        public bool? WhetherDefault { get; set; }
        /// <summary>
        /// 公司Id
        /// </summary>
        public string? office_id { get; set; }
        /// <summary>
        /// 用户Id
        /// </summary>
        public int? user_id { get; set; }
        /// <summary>
        /// 创建人
        /// </summary>
        public string? CreateName { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateTime { get; set; }
        /// <summary>
        /// 修改人
        /// </summary>
        public string? UpdateName { get; set; }
        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime? UpdateTime { get; set; }
        /// <summary>
        /// 删除人
        /// </summary>
        public string? DeleteName { get; set; }
        /// <summary>
        /// 删除时间
        /// </summary>
        public DateTime? DeleteTime { get; set; }
        /// <summary>
        /// 是否删除
        /// </summary>
        public bool? IsDelete { get; set; }
    }
}
